package com.situ.hospital.department.dao;

import java.sql.SQLException;
import java.util.List;

import com.situ.hospital.department.model.DepartmentModel;

public interface IDepartmentDao {

	Integer insert(DepartmentModel department) throws SQLException;

	DepartmentModel selectModel(DepartmentModel department) throws SQLException;

	List<DepartmentModel> selectAll(DepartmentModel department) throws SQLException;

	Integer deleteByName(DepartmentModel department) throws SQLException;

	Integer updateByName(DepartmentModel department) throws SQLException;

	Integer selectCount(DepartmentModel dm) throws SQLException;

	
}